{% extends "base.html" %}

{% block title %}创建新动画{% endblock %}

{% block content %}
    <form method="post">  
        {% csrf_token %}  
        {{ form.as_p }}  

        <table>
            <tr class="detail_head">
                {% for field in form %}
                <th>{{ field.label_tag }}</th>
                {% endfor %}
            </tr>
            <tr class="detail_text">
                {% for field in form %}
                <td>{{ field }}</td>
                {% endfor %}
            </tr>
        </table>

        <button type="submit">提交</button>  
    </form>
{% endblock %}